package business.algorithm.technicalIndicator;

import dataAccess.databaseManagement.entity.AssetEntity;
import dataAccess.databaseManagement.entity.PriceEntity;
import java.util.ArrayList;
import java.util.TreeMap;

public abstract class AbstractTechnicalIndicator {
        public static int PRICE_CHART = 0;
        public static int NOT_PRICE_CHART = 1;
    
	public abstract ArrayList<ArrayList<PointEntry>> runAlgorithm();
        public abstract int getType();

	public AbstractTechnicalIndicator(
			TreeMap<AssetEntity, ArrayList<PriceEntity>> priceList) {
		super();
		this.priceList = priceList;
	}

	protected TreeMap<AssetEntity, ArrayList<PriceEntity>> priceList;

	public TreeMap<AssetEntity, ArrayList<PriceEntity>> getPriceList() {
		return priceList;
	}

	public void setPriceList(
			TreeMap<AssetEntity, ArrayList<PriceEntity>> priceList) {
		this.priceList = priceList;
	}

	@SuppressWarnings("rawtypes")
	public TreeMap<String, Class> getParameterList() {
		TreeMap<String, Class> map = new TreeMap<String, Class>();
		return map;
	}

	public void setParameterValue(TreeMap<String, Object> map) {
	}
}
